package com.ls.common;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author lisheng
 * @Date 2025/04/19 20:04
 **/
@Data
public class TreePerNode {
    private Integer id;
    private Integer menuId;
    private String name;
    private List<TreePerNode> children = new ArrayList<TreePerNode>();

    public TreePerNode(Integer id, Integer menuId, String name) {
        this.id = id;
        this.menuId = menuId;
        this.name = name;
    }
}
